package com.insurance.service;

import java.util.List;

import com.insurance.bean.Blog;


public interface BlogService {

	public void save(Blog blog);

	public void update(Blog blog);

	public Blog getBlog(Integer blogid);

	public void delete(Integer blogid);

	public List<Blog> getBlogs();
	
	public List<Blog> getBlogsByWriter(String writer);
	
	public List<Blog> getBlogsTop10();
	
	public List<Blog> getBlogsTop5();

}